/**
 * Created by wscl1 on 2015/8/1.
 */
var mongoose = require('mongoose');

var Schema = mongoose.Schema,
    ObjectId = Schema.ObjectId;

exports.test = function (req, res) {

    var Task = new Schema({
        task: String
    });
    var task = mongoose.mode({Task: Task});

    res.send('into');
}